<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <link rel="canonical" href="https://blog.csdn.net/nsjlive/article/details/78397143"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="report" content='{"pid":"blog"}'>
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
        <meta name="csdn-baidu-search"  content='{"autorun":true,"install":true,"keyword":"python3 输出和输出_Python_nsjlive的博客-CSDN博客"}'>
    
    <link href="https://csdnimg.cn/public/favicon.ico" rel="SHORTCUT ICON">
    <title>python3 输出和输出_Python_nsjlive的博客-CSDN博客</title>
    <meta name="description" content="部分内容转载自：http://www.runoob.com/python3/python3-inpuPython">
    <script src='//g.csdnimg.cn/tingyun/1.8.3/blog.js' type='text/javascript'></script>
        
                    <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/detail-075a8c7524.min.css">
                            <script type="application/ld+json">{"@context":"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld","@id":"https:\/\/blog.csdn.net\/nsjlive\/article\/details\/78397143","appid":1638831770136827,"title":"python3 \u8f93\u51fa\u548c\u8f93\u51fa_Python_nsjlive\u7684\u535a\u5ba2-CSDN\u535a\u5ba2","pubDate":"2017-10-30T20:44:21","upDate":"2017-10-30T20:44:21"}</script>
    
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/themes/skin3-template/skin3-template-c9d2f651cc.min.css">
    
<!--    自定义皮肤样式-->
    
    <script type="text/javascript">
        var username = "nsjlive";
        var blog_address = "https://blog.csdn.net/nsjlive";
        var static_host = "https://csdnimg.cn/release/phoenix/";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/nsjlive/article/details/78397143"
        var blogUrl = "https://blog.csdn.net/";

        var curSkin = "skin3-template";
        // 收藏所需数据
        var articleTitle = "python3 输出和输出";
        var articleDesc = "部分内容转载自：http://www.runoob.com/python3/python3-inpuPython";

        var articleTitles = "python3 输出和输出_Python_nsjlive的博客-CSDN博客";
        
        var nickName = "nsjlive";
        var isCorporate = false;
        var subDomainBlogUrl = "https://blog.csdn.net/"
        var digg_base_url = "https://blog.csdn.net/nsjlive";
        var articleDetailUrl = "https://blog.csdn.net/nsjlive/article/details/78397143";
        var isShowThird = "1"
    </script>
    <script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <!--js引用-->
            <script src="//g.csdnimg.cn/??fixed-sidebar/1.1.6/fixed-sidebar.js,report/1.4.2/report.js" type="text/javascript"></script>
    <link rel="stylesheet" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
</head>
<body class="nodata " > 
    <link rel="stylesheet" href="https://csdnimg.cn/public/common/toolbar/content_toolbar_css/content_toolbar.css">
    <script id="toolbar-tpl-scriptId" src="https://csdnimg.cn/public/common/toolbar/js/content_toolbar.js" type="text/javascript" domain="https://blog.csdn.net/"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/blog_code-c3a0c33d5c.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-e040f0c7c8.css">

<script type="text/javascript">
	var NEWS_FEED = function(){}
</script>

<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/chart-3456820cac.css" />
<div class="main_father clearfix d-flex justify-content-center" style="height:100%;"> 
    <div class="container clearfix" id="mainBox">
        <div  class='space_container'></div>
        <main>
            <div class="blog-content-box">
    <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article">python3 输出和输出</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <!--文章类型-->
                    <span class="article-type type-1 float-left">原创</span>                                                                                                                                            <a class="follow-nickName" href="https://me.csdn.net/nsjlive" target="_blank" rel="noopener">nsjlive</a>
                    <span class="time">最后发布于2017-10-30 20:44:21                    </span>
                    <span class="read-count">阅读数 966</span>
                    <a id='blog_detail_zk_collection' data-report-click='{"mod":"popu_823"}'>
                        <svg class="icon">
                            <use xlink:href="#icon-csdnc-Collection-G" ></use>
                        </svg>
                        收藏
                    </a>
                                    </div>
                                <div class="up-time">发布于2017-10-30 20:44:21</div>
                <div class="slide-content-box">
                                                                                                                        <div class="article-copyright">
                        <span class="creativecommons">
                            <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"></a>
                            <span>
                                版权声明：本文为博主原创文章，遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议，转载请附上原文出处链接和本声明。                            </span>
                            <div class="article-source-link2222">
                                本文链接：<a href="https://blog.csdn.net/nsjlive/article/details/78397143">https://blog.csdn.net/nsjlive/article/details/78397143</a>
                            </div>
                        </span> 
                        </div>
                                                                                </div>
                <div class="operating">
                                                                <a class="href-article-edit slide-toggle">展开</a>
                                    </div>
            </div>
        </div>
    </div>
    <article class="baidu_pl">
        <!--python安装手册开始-->
                <!--python安装手册结束-->
                <!--####专栏广告位图文切换开始-->
                                    <!--####专栏广告位图文切换结束-->
         <div id="article_content" class="article_content clearfix">
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-833878f763.css" />
                            <div id="content_views" class="markdown_views prism-atom-one-dark">
                    <!-- flowchart 箭头图标 勿删 -->
                    <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
                        <path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
                    </svg>
                                            <p>部分内容转载自：<a href="http://www.runoob.com/python3/python3-inputoutput.html" rel="nofollow" target="_blank">http://www.runoob.com/python3/python3-inputoutput.html</a> <br>
1.读取键盘输入 <br>
Python提供了 input() 置函数从标准输入读入一行文本，默认的标准输入是键盘。 <br>
input 可以接收一个Python表达式作为输入，并将运算结果返回。</p>



<pre class="prettyprint"><code class=" hljs d"><span class="hljs-shebang">#!/usr/bin/python3</span>

str = input(<span class="hljs-string">"请输入："</span>);
print (<span class="hljs-string">"你输入的内容是: "</span>, str)</code></pre>

<p>这会产生如下的对应着输入的结果：</p>



<pre class="prettyprint"><code class=" hljs ">请输入：菜鸟教程
你输入的内容是:  菜鸟教程
</code></pre>

<p>2.以下实例将字符串写入到文件 foo.txt 中： <br>
txt文件路径：‪C:\Users\n\Desktop\test.txt</p>



<pre class="prettyprint"><code class=" hljs vala"><span class="hljs-preprocessor">#!/usr/bin/python3</span>

<span class="hljs-preprocessor"># 打开一个文件</span>
f = open(<span class="hljs-string">"C:/Users/n/Desktop/test.txt"</span>, <span class="hljs-string">"w"</span>)

f.write( <span class="hljs-string">"Python 是一个非常好的语言。\n是的，的确非常好!!\n"</span> )

<span class="hljs-preprocessor"># 关闭打开的文件</span>
f.close()</code></pre>

<p>此时打开文件，显示如下： <br>
<img src="https://img-blog.csdn.net/20171030205437410?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbnNqbGl2ZQ==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="这里写图片描述" title=""></p>                                    </div>
                <link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-b6c3c6d139.css" rel="stylesheet">
                                                <div class="more-toolbox">
                <div class="left-toolbox">
                    <ul class="toolbox-list">
                        
                        <li class="tool-item tool-active is-like "><a href="javascript:;"><svg class="icon" aria-hidden="true">
                            <use xlink:href="#csdnc-thumbsup"></use>
                        </svg><span class="name">点赞</span>
                        <span class="count"></span>
                        </a></li>
                        <li class="tool-item tool-active is-collection "><a href="javascript:;" data-report-click='{"mod":"popu_824"}'><svg class="icon" aria-hidden="true">
                            <use xlink:href="#icon-csdnc-Collection-G" ></use>
                        </svg><span class="name">收藏</span></a></li>
                        <li class="tool-item tool-active is-share"><a href="javascript:;" data-report-click='{"mod":"1582594662_002"}'><svg class="icon" aria-hidden="true">
                            <use xlink:href="#icon-csdnc-fenxiang"></use>
                        </svg>分享</a></li>
                        <!--打赏开始-->
                                                <!--打赏结束-->
                                                <li class="tool-item tool-more">
                            <a>
                            <svg t="1575545411852" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5717" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M179.176 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5718"></path><path d="M509.684 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5719"></path><path d="M846.175 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5720"></path></svg>
                            </a>
                            <ul class="more-box">
                                <li class="item"><a class="article-report">文章举报</a></li>
                            </ul>
                        </li>
                                            </ul>
                </div>
                            </div>
            <div class="person-messagebox">
                <div class="left-message"><a href="https://blog.csdn.net/nsjlive">
                    <img src="https://profile.csdnimg.cn/B/A/1/3_nsjlive" class="avatar_pic" username='nsjlive'>
                                            <img src="https://g.csdnimg.cn/static/user-reg-year/1x/2.png" class="user-years">
                                    </a></div>
                <div class="middle-message">
                                        <div class="title"><span class="tit"><a href="https://blog.csdn.net/nsjlive" data-report-click='{"mod":"popu_379"}' target="_blank">nsjlive</a></span>
                                            </div>
                    <div class="text"><span>发布了224 篇原创文章</span> · <span>获赞 21</span> · <span>访问量 7万+</span></div>
                </div>
                                <div class="right-message">
                                            <a href=https://im.csdn.net/im/main.html?userName=nsjlive target="_blank" 
                            class="btn btn-sm btn-red-hollow bt-button personal-letter">私信
                        </a>
                                                            <a class="btn btn-sm  bt-button personal-watch" data-report-click='{"mod":"popu_379"}'>关注</a>
                                    </div>
                            </div>
                    </div>
    </article>
    
</div>


                        <div class="hide-article-box hide-article-pos text-center">
                <a class="btn-readmore" data-report-view='{"mod":"popu_376","dest":"https://blog.csdn.net/nsjlive/article/details/78397143","strategy":"readmore"}' data-report-click='{"mod":"popu_376","dest":"https://blog.csdn.net/nsjlive/article/details/78397143","strategy":"readmore"}'>
                    展开阅读全文
                    <svg class="icon chevrondown" aria-hidden="true">
                        <use xlink:href="#csdnc-chevrondown"></use>
                    </svg>
                </a>
            </div>
        

    <script>
    $("#blog_detail_zk_collection").click(function(){
        window.csdn.articleCollection()
    })
</script>

            <div id="dmp_ad_58"><div id="kp_box_58" data-pid="58"><div style="width:100%;background:#fff;border:3px solid #fff;padding:16px 0px 0px 0px;">
<script type="text/javascript" src="//static.mediav.com/js/mvf_news_feed.js"></script>
<div id="three_ad1" class="mediav_ad" ></div>
<script>
                                               NEWS_FEED({
                w: 900,
                h : 100,
                showid : 'ztvJV8',
                placeholderId: "three_ad1",
                inject : 'define',
                define : {
                    imagePosition : 'left',
                    imageBorderRadius : 0,
                    imageWidth: 90,
                    imageHeight: 68,
                    imageFill : 'clip',
                    displayImage : true,
                    displayTitle : true,
                    titleFontSize: 18,
                    titleFontColor: '#000',
                    titleFontFamily : 'Lato,-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif',
                    titleFontWeight: 'bold',
                    titlePaddingTop : 0,
                    titlePaddingRight : 0,
                    titlePaddingBottom : 5,
                    titlePaddingLeft : 16,
                    displayDesc : true,
                    descFontSize: 14,
                    descFontColor: '#8e959a',
                    descFontFamily : 'Microsoft YaHei',
                    paddingTop : 10,
                    paddingRight : 0,
                    paddingBottom : 0,
                    paddingLeft : 20,
                    backgroundColor: '#fff',
                    hoverColor: '#000'
                      }
                  })
                                        </script>
</div><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=58&a=402&c=0&k=&d=1&t=3&u=0fda68bda5044df58adf993930ed534d"></div></div>            
            <a id="commentBox" name="commentBox"></a>
<div class="comment-box">
	<div class="comment-edit-box d-flex">
		<a id="commentsedit"></a>
		<div class="user-img">
			<a href="javascript:void(0);" target="_blank" rel="noopener">
				<img class="show_loginbox" src="//g.csdnimg.cn/static/user-img/anonymous-User-img.png">
			</a>
		</div>
		<form id="commentform">
			<input type="hidden" id="comment_replyId">
			<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="想对作者说点什么" maxlength="1000"></textarea>
			<div class="opt-box"> <!-- d-flex -->
				<div id="ubbtools" class="add_code">
					<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
				</div>
				<input type="hidden" id="comment_replyId" name="comment_replyId">
				<input type="hidden" id="article_id" name="article_id" value="78397143">
				<input type="hidden" id="comment_userId" name="comment_userId" value="">
				<input type="hidden" id="commentId" name="commentId" value="">
				<div style="display: none;" class="csdn-tracking-statistics tracking-click" data-report-click='{"mod":"popu_384","dest":""}'><a href="#" target="_blank" class="comment_area_btn" rel="noopener">发表评论</a></div>
				<div class="dropdown" id="myDrap">
					<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
					<div class="txt-selected text-truncate">添加代码片</div>
					<svg class="icon d-block" aria-hidden="true">
						<use xlink:href="#csdnc-triangledown"></use>
					</svg>
					</a>
					<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
						<li><a data-code="html">HTML/XML</a></li>
						<li><a data-code="objc">objective-c</a></li>
						<li><a data-code="ruby">Ruby</a></li>
						<li><a data-code="php">PHP</a></li>
						<li><a data-code="csharp">C</a></li>
						<li><a data-code="cpp">C++</a></li>
						<li><a data-code="javascript">JavaScript</a></li>
						<li><a data-code="python">Python</a></li>
						<li><a data-code="java">Java</a></li>
						<li><a data-code="css">CSS</a></li>
						<li><a data-code="sql">SQL</a></li>
						<li><a data-code="plain">其它</a></li>
					</ul>
				</div>  
				<div class="right-box">
                                        <span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
					<input type="button" class="btn btn-sm btn-cancel d-none" value="取消回复">
					<a data-report-click='{"mod":"1582594662_003"}'><input type="submit" class="btn btn-sm btn-red btn-comment" value="发表评论"></a>
				</div>
			</div>
		</form>
	</div>

	<div class="comment-list-container">
		<a id="comments"></a>
		<div class="comment-list-box">
		</div>
		<div id="commentPage" class="pagination-box d-none"></div>
		<div class="opt-box text-center">
			<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
		</div>
	</div>
</div>
            <div class="recommend-box">
                                    <div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/Amber_shi/article/details/79221858" target="_blank"  rel="noopener" title="python的输出和输出格式" data-report-click='{"mod":"popu_387","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Amber_shi\/article\/details\/79221858"}' data-report-view='{"mod":"popu_387","index":"1","strategy":"BlogCommendFromMachineLearnPai2","dest":"https:\/\/blog.csdn.net\/Amber_shi\/article\/details\/79221858"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python的输出和输出格式		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-31</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/Amber_shi/article/details/79221858" target="_blank" rel="noopener" title="python的输出和输出格式">
				<span class="desc oneline">输出1.普通的输出#打印提示print(&#039;helloworld&#039;)用print()在括号中加上字符串，就可以向屏幕上输出指定的文字。比如输出&#039;hello,world&#039;，用代码实现如下：&gt;&gt;&gt;print...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/Amber_shi">来自：	<span class="blog_title"> Amber_shi的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/xHibiki/article/details/83758173" target="_blank"  rel="noopener" title="Python3输出时使用print函数的一个小技巧" data-report-click='{"mod":"popu_387","index":"2","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/xHibiki\/article\/details\/83758173"}' data-report-view='{"mod":"popu_387","index":"2","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/xHibiki\/article\/details\/83758173"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3输出时使用print函数的一个小技巧		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">11-05</span>
				<span class="read-num hover-hide">
					阅读数 
					220</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/xHibiki/article/details/83758173" target="_blank" rel="noopener" title="Python3输出时使用print函数的一个小技巧">
				<span class="desc oneline">在编写代码的时候,总是烦着print()没以前版本的好用了,例如:str=&amp;quot;Hello World!&amp;quot;&amp;amp;gt;&amp;amp;gt;&amp;am...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/xHibiki">来自：	<span class="blog_title"> Hibiki's next Life</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_43378248/article/details/87900506" target="_blank"  rel="noopener" title="Python3 输入和输出" data-report-click='{"mod":"popu_387","index":"3","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_43378248\/article\/details\/87900506"}' data-report-view='{"mod":"popu_387","index":"3","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_43378248\/article\/details\/87900506"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3 输入和输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-24</span>
				<span class="read-num hover-hide">
					阅读数 
					233</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_43378248/article/details/87900506" target="_blank" rel="noopener" title="Python3 输入和输出">
				<span class="desc oneline">文章目录一、输出格式美化二、旧式字符串格式化三、读取键盘输入四、读和写文件五、文件对象的方法六、pickle 模块一、输出格式美化将输出的值 转成字符串 ，可以使用 repr() OR str() 函...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43378248">来自：	<span class="blog_title"> -谁谁谁谁</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/luoluo19550418/article/details/97623739" target="_blank"  rel="noopener" title="python 数据输出到文件" data-report-click='{"mod":"popu_387","index":"4","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/luoluo19550418\/article\/details\/97623739"}' data-report-view='{"mod":"popu_387","index":"4","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/luoluo19550418\/article\/details\/97623739"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python 数据输出到文件		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-29</span>
				<span class="read-num hover-hide">
					阅读数 
					546</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/luoluo19550418/article/details/97623739" target="_blank" rel="noopener" title="python 数据输出到文件">
				<span class="desc oneline">已知x0=[1,2,3,4,5]   y0=[1,2,3,4,5]若要把x0,y0输出到文件123.dat中，程序如下：法一：with open(&#039;123.dat&#039;,&#039;w&#039;) as f:    for...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/luoluo19550418">来自：	<span class="blog_title"> https://github.com/luoluo19550418</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_59" data-pid="59"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="fluid"
     data-ad-layout-key="-gp-e+1c-4d+81"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="2356783728"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=59&a=944&c=0&k=&d=1&t=3&u=3b170d7a93624eaa89d9e12704e21ff6"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_30061245/article/details/81273518" target="_blank"  rel="noopener" title="Python数据读取处理与导出" data-report-click='{"mod":"popu_387","index":"5","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_30061245\/article\/details\/81273518"}' data-report-view='{"mod":"popu_387","index":"5","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_30061245\/article\/details\/81273518"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python数据读取处理与导出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-29</span>
				<span class="read-num hover-hide">
					阅读数 
					1412</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_30061245/article/details/81273518" target="_blank" rel="noopener" title="Python数据读取处理与导出">
				<span class="desc oneline">经过多方查找拼接了一个将Excel中的数据导入到Python中、数据处理、将处理后的数据到出到Excel中的整个程序，并做了标注import pandas as pdimport numpy as n...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_30061245">来自：	<span class="blog_title"> qq_30061245的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/haoxiaoyan/article/details/88865402" target="_blank"  rel="noopener" title="python2 和python3如何实现 将输出打印在同一行" data-report-click='{"mod":"popu_387","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/haoxiaoyan\/article\/details\/88865402"}' data-report-view='{"mod":"popu_387","index":"6","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/haoxiaoyan\/article\/details\/88865402"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python2 和python3如何实现 将输出打印在同一行		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">03-28</span>
				<span class="read-num hover-hide">
					阅读数 
					1567</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/haoxiaoyan/article/details/88865402" target="_blank" rel="noopener" title="python2 和python3如何实现 将输出打印在同一行">
				<span class="desc oneline">python3print(&quot;Maryhadalittlelamb.&quot;)print(&quot;Itfleecewaswhiteas%s.&quot;%&#039;snow&#039;)print(&quot;AndeverywherethatMary...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/haoxiaoyan">来自：	<span class="blog_title"> 蘑菇丁的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/liuzonghao88/article/details/100605552" target="_blank"  rel="noopener" title="笔试中python3的标准输入" data-report-click='{"mod":"popu_387","index":"7","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/liuzonghao88\/article\/details\/100605552"}' data-report-view='{"mod":"popu_387","index":"7","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/liuzonghao88\/article\/details\/100605552"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				笔试中python3的标准输入		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">09-07</span>
				<span class="read-num hover-hide">
					阅读数 
					285</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/liuzonghao88/article/details/100605552" target="_blank" rel="noopener" title="笔试中python3的标准输入">
				<span class="desc oneline">举个例子：输入1 2 3 4获取输入值List = []try:    while True:        line = sys.stdin.readline().strip()        if...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/liuzonghao88">来自：	<span class="blog_title"> liuzh的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/masbbx123/article/details/80510187" target="_blank"  rel="noopener" title="python输出到文件" data-report-click='{"mod":"popu_387","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/masbbx123\/article\/details\/80510187"}' data-report-view='{"mod":"popu_387","index":"8","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/masbbx123\/article\/details\/80510187"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python输出到文件		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">05-30</span>
				<span class="read-num hover-hide">
					阅读数 
					9597</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/masbbx123/article/details/80510187" target="_blank" rel="noopener" title="python输出到文件">
				<span class="desc oneline">这样就直接输出到文件中去了doc=open(&#039;out.txt&#039;,&#039;w&#039;)print(data_dict,file=doc)doc.close()</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/masbbx123">来自：	<span class="blog_title"> masbbx123的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="http://ask.csdn.net/questions/756662" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","index":"9","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/756662"}' data-report-view='{"mod":"popu_387","index":"9","strategy":"BlogCommendFromBaidu","dest":"http:\/\/ask.csdn.net\/questions\/756662"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3中 如何在print输出中将输出的数据右对齐		</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">04-14</span>
		</div>
		<p class="content oneline">
			<span class="desc oneline">如下的代码：怎样才能让我的输出是右对齐的
```
name = input()
qq_number = int(input())
phone_number = int(input())
company_address = input()
print(&quot;我的名字叫：%s\n我的qq号是：%d\n我的手机号是：%d\n我的公司地址是：%s&quot;%(name,qq_number,phone_number,company_address))
```
![图片说明](https://img-ask.csdn.net/upload/201904/14/1555177398_626913.jpg)

我想过用占位符和format 但是都不成功且很繁琐

```
print(&quot;我的名字叫：%6s\n我的qq号是：%6d\n我的手机号是：%6d\n我的公司地址是：%s&quot;\
      %(name,qq_number,phone_number,company_address))
print(&quot;我的名字：{:&gt;13}&quot;.format(name))
print(&quot;我的qq：{:&gt;17}&quot;.format(qq_number))
print(&quot;我的电话号码：{:&gt;11}&quot;.format(phone_number))
```
所以想请教一下各位大神怎样才能让输出右对齐，本人刚刚开始学，还有很多不太了解 请各位大神帮忙解答</span>
							<span class="type-show type-show-ask">问答</span>
					</p>
	</a>

</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_60" data-pid="60"><div id="three_ad1" class="mediav_ad" ></div>
<script type="text/javascript" src="//static.mediav.com/js/mvf_news_feed.js"></script>
<script>
                                               NEWS_FEED({
                w: 852,
                h : 52,
                showid : 'GNKXx7',
                placeholderId: "three_ad1",
                inject : 'define',
                define : {
                    imagePosition : 'left',
                    imageBorderRadius : 3,
                    imageWidth: 90,
                    imageHeight: 52,
                    imageFill : 'clip',
                    displayImage : true,
                    displayTitle : true,
                    titleFontSize: 18,
                    titleFontColor: '#000',
                    titleFontFamily : 'Lato,-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif',
                    titleFontWeight: 'bold',
                    titlePaddingTop : 0,
                    titlePaddingRight : 0,
                    titlePaddingBottom : 5,
                    titlePaddingLeft : 16,
                    displayDesc : true,
                    descFontSize: 14,
                    descFontColor: '#8e959a',
                    descFontFamily : 'Microsoft Yahei',
                    paddingTop : 0,
                    paddingRight : 0,
                    paddingBottom : 0,
                    paddingLeft : 0,
                    backgroundColor: '#fff',
                    hoverColor: '#000'
                      }
                  })
                                        </script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=60&a=517&c=0&k=&d=1&t=3&u=3a5941bf4c7449288c4a6f94d51396b1"></div></div>
	
<div class="recommend-item-box recommend-box-ident recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/392145535" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392145535"}' data-report-view='{"mod":"popu_387","index":"10","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392145535"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				 python转发http请求		</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">03-31</span>
		</div>
		<p class="content oneline">
			<span class="desc oneline">如何实现: 多个用户请求某一数据，但是这个数据是别的网站(需要登陆进别的网站之后才能请求获取) 服务器上运行: 1. PHP 处理用户请求 2. python运行脚本，已经模拟登陆上别的网站; 3. </span>
							<span class="type-show type-show-bbs">论坛</span>
					</p>
	</a>

</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_42506599/article/details/97611973" target="_blank"  rel="noopener" title="python3   输出每日一贴" data-report-click='{"mod":"popu_387","index":"11","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_42506599\/article\/details\/97611973"}' data-report-view='{"mod":"popu_387","index":"11","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_42506599\/article\/details\/97611973"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3   输出每日一贴		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-28</span>
				<span class="read-num hover-hide">
					阅读数 
					85</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_42506599/article/details/97611973" target="_blank" rel="noopener" title="python3   输出每日一贴">
				<span class="desc oneline">import datetimemot=[&quot;坚持下去不是因为我很坚强，而是因为我别无选择&quot;,      &quot;含泪播种的人一定能笑着收获&quot;,      &quot;做对的事情比把事情做对重要&quot;,      &quot;命运给予...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_42506599">来自：	<span class="blog_title"> 半夜西风的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
			<div class="recommend-item-box blog-expert-recommend-box">
			<div class="d-flex">
				<div class="blog-expert-recommend">
					<div class="blog-expert">
						<div class="blog-expert-flexbox"></div>
					</div>
				</div>
			</div>
		</div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/lv1224/article/details/78051143" target="_blank"  rel="noopener" title="Python 同行输出" data-report-click='{"mod":"popu_387","index":"12","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/lv1224\/article\/details\/78051143"}' data-report-view='{"mod":"popu_387","index":"12","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/lv1224\/article\/details\/78051143"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python 同行输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">09-21</span>
				<span class="read-num hover-hide">
					阅读数 
					5571</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/lv1224/article/details/78051143" target="_blank" rel="noopener" title="Python 同行输出">
				<span class="desc oneline">Python 同行输出：如果要求多次输出在同一行，则咋print中增加 end=“”即可，例如：如果要求多次输出在同一行，且冲掉之前的输出，则在输出中增加\r，例如：...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/lv1224">来自：	<span class="blog_title"> 沧海漂游的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/HuaCode/article/details/79791374" target="_blank"  rel="noopener" title="Python3中实现数值取整的几种方法" data-report-click='{"mod":"popu_387","index":"13","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/HuaCode\/article\/details\/79791374"}' data-report-view='{"mod":"popu_387","index":"13","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/HuaCode\/article\/details\/79791374"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3中实现数值取整的几种方法		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">04-02</span>
				<span class="read-num hover-hide">
					阅读数 
					4703</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/HuaCode/article/details/79791374" target="_blank" rel="noopener" title="Python3中实现数值取整的几种方法">
				<span class="desc oneline">正文：（在Python3.x中亲测可用）内置函数int()，向0取整a1=3.4a2=3.6a1=int(a1)a2=int(a2)print(a1)print(a2)输出：33向零取整内置函数rou...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/HuaCode">来自：	<span class="blog_title"> System.out.println(“菜鸟的升级之路”）</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/piaoxuezhong/article/details/53967799" target="_blank"  rel="noopener" title="python数据分析之（1）数据输入和输出" data-report-click='{"mod":"popu_387","index":"14","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/piaoxuezhong\/article\/details\/53967799"}' data-report-view='{"mod":"popu_387","index":"14","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/piaoxuezhong\/article\/details\/53967799"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python数据分析之（1）数据输入和输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-01</span>
				<span class="read-num hover-hide">
					阅读数 
					3890</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/piaoxuezhong/article/details/53967799" target="_blank" rel="noopener" title="python数据分析之（1）数据输入和输出">
				<span class="desc oneline">通常来说，一个Python程序可以从键盘读取输入，也可以从文件读取输入；而程序的结果可以输出到屏幕上，也可以保存到文件中便于以后使用。一、控制台I/O1.读取键盘输入内置函数input，用于从标准输入...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/piaoxuezhong">来自：	<span class="blog_title"> 满城风絮</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_61" data-pid="61"><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
     style="display:block"
     data-ad-format="fluid"
     data-ad-layout-key="-gp-e+1c-4d+81"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="2356783728"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=61&a=944&c=0&k=&d=1&t=3&u=3e6fca574a9940a799a7cd96466cd96e"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/bebrave2005/article/details/96850521" target="_blank"  rel="noopener" title="python3标准输出函数print的阉割版写法" data-report-click='{"mod":"popu_387","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/bebrave2005\/article\/details\/96850521"}' data-report-view='{"mod":"popu_387","index":"15","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/bebrave2005\/article\/details\/96850521"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3标准输出函数print的阉割版写法		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-22</span>
				<span class="read-num hover-hide">
					阅读数 
					31</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/bebrave2005/article/details/96850521" target="_blank" rel="noopener" title="python3标准输出函数print的阉割版写法">
				<span class="desc oneline">print()函数是也属于一种函数，用系统库语言可以写出来它的底层简单逻辑，但这只是阉割版的功能，用于理解print函数。import sysdef my_print(*var,sep=&quot; &quot;,end...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/bebrave2005">来自：	<span class="blog_title"> bebrave2005的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_44011814/article/details/84947921" target="_blank"  rel="noopener" title="Python3 之 输入输出函数详解" data-report-click='{"mod":"popu_387","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_44011814\/article\/details\/84947921"}' data-report-view='{"mod":"popu_387","index":"16","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_44011814\/article\/details\/84947921"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3 之 输入输出函数详解		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-10</span>
				<span class="read-num hover-hide">
					阅读数 
					222</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_44011814/article/details/84947921" target="_blank" rel="noopener" title="Python3 之 输入输出函数详解">
				<span class="desc oneline">input() 函数input()也叫输入函数input()函数是python中是一个内建函数，其从标准输入中读入一个字符串（通过读取控制台的输入与用户实现交互），并自动忽略换行符。Python3.x...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_44011814">来自：	<span class="blog_title"> CSDN-郭振振</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/Webben/article/details/83858959" target="_blank"  rel="noopener" title="Python3 日志输出及配置" data-report-click='{"mod":"popu_387","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Webben\/article\/details\/83858959"}' data-report-view='{"mod":"popu_387","index":"17","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Webben\/article\/details\/83858959"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3 日志输出及配置		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">11-08</span>
				<span class="read-num hover-hide">
					阅读数 
					1590</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/Webben/article/details/83858959" target="_blank" rel="noopener" title="Python3 日志输出及配置">
				<span class="desc oneline">Python3 日志输出及配置目录结构如下：.├── conf│   ├── development.conf│   ├── logging.conf│   ├── production.conf│ ...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/Webben">来自：	<span class="blog_title"> Webben</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qysh123/article/details/98477249" target="_blank"  rel="noopener" title="将Python3控制台输出保存到文件的方法" data-report-click='{"mod":"popu_387","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qysh123\/article\/details\/98477249"}' data-report-view='{"mod":"popu_387","index":"18","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qysh123\/article\/details\/98477249"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				将Python3控制台输出保存到文件的方法		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">08-05</span>
				<span class="read-num hover-hide">
					阅读数 
					1404</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qysh123/article/details/98477249" target="_blank" rel="noopener" title="将Python3控制台输出保存到文件的方法">
				<span class="desc oneline">这个需求也是很简单，有时候我们可以通过控制台输出一些有用的结果，例如用pptree：https://github.com/clemtoy/pptree但是我们往往也希望把控制台的输入保存到文件供具体分...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qysh123">来自：	<span class="blog_title"> qysh123的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_43794332/article/details/101309918" target="_blank"  rel="noopener" title="python数据输入与输出" data-report-click='{"mod":"popu_387","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_43794332\/article\/details\/101309918"}' data-report-view='{"mod":"popu_387","index":"19","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_43794332\/article\/details\/101309918"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python数据输入与输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">09-24</span>
				<span class="read-num hover-hide">
					阅读数 
					32</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_43794332/article/details/101309918" target="_blank" rel="noopener" title="python数据输入与输出">
				<span class="desc oneline">1.标准输入x=input（“Please enter your input:”）&gt;&gt;&gt;a=eval(input(())4*5+6&gt;&gt;&gt;a262.标准输出print...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43794332">来自：	<span class="blog_title"> weixin_43794332的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_62" data-pid="62"><div id="three_ad1" class="mediav_ad" ></div>
<script type="text/javascript" src="//static.mediav.com/js/mvf_news_feed.js"></script>
<script>
                                               NEWS_FEED({
                w: 852,
                h : 52,
                showid : 'GNKXx7',
                placeholderId: "three_ad1",
                inject : 'define',
                define : {
                    imagePosition : 'left',
                    imageBorderRadius : 3,
                    imageWidth: 90,
                    imageHeight: 52,
                    imageFill : 'clip',
                    displayImage : true,
                    displayTitle : true,
                    titleFontSize: 18,
                    titleFontColor: '#000',
                    titleFontFamily : 'Lato,-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif',
                    titleFontWeight: 'bold',
                    titlePaddingTop : 0,
                    titlePaddingRight : 0,
                    titlePaddingBottom : 5,
                    titlePaddingLeft : 16,
                    displayDesc : true,
                    descFontSize: 14,
                    descFontColor: '#8e959a',
                    descFontFamily : 'Microsoft Yahei',
                    paddingTop : 0,
                    paddingRight : 0,
                    paddingBottom : 0,
                    paddingLeft : 0,
                    backgroundColor: '#fff',
                    hoverColor: '#000'
                      }
                  })
                                        </script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=62&a=517&c=0&k=&d=1&t=3&u=b95b270f9a4a4b18b42a7c4fb419140a"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_34050389/article/details/93215994" target="_blank"  rel="noopener" title="Python3 输出" data-report-click='{"mod":"popu_387","index":"20","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_34050389\/article\/details\/93215994"}' data-report-view='{"mod":"popu_387","index":"20","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_34050389\/article\/details\/93215994"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3 输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">10-25</span>
				<span class="read-num hover-hide">
					阅读数 
					9</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_34050389/article/details/93215994" target="_blank" rel="noopener" title="Python3 输出">
				<span class="desc oneline">1.打印字符串　　print(&quot;My name is %s&quot; %(&quot;Alfred.Xue&quot;))#输出效果：My name is Alfred.Xue2.打印整数print(&quot;I am %d years...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_34050389">来自：	<span class="blog_title"> weixin_34050389的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_38542085/article/details/78495293" target="_blank"  rel="noopener" title="python3格式化输出" data-report-click='{"mod":"popu_387","index":"21","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_38542085\/article\/details\/78495293"}' data-report-view='{"mod":"popu_387","index":"21","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/qq_38542085\/article\/details\/78495293"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3格式化输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">11-09</span>
				<span class="read-num hover-hide">
					阅读数 
					5667</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_38542085/article/details/78495293" target="_blank" rel="noopener" title="python3格式化输出">
				<span class="desc oneline">python格式化字符串有%和{}两种 字符串格式控制符.字符串输入数据格式类型(%格式操作符号)%%  百分号标记%c  字符及其ASCII码%s  字符串%d  有符号整数(十进制)%u  无符号...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_38542085">来自：	<span class="blog_title"> 随我的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/seegroung/article/details/44407277" target="_blank"  rel="noopener" title="python 输入输出" data-report-click='{"mod":"popu_387","index":"22","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/seegroung\/article\/details\/44407277"}' data-report-view='{"mod":"popu_387","index":"22","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/seegroung\/article\/details\/44407277"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python 输入输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">03-18</span>
				<span class="read-num hover-hide">
					阅读数 
					397</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/seegroung/article/details/44407277" target="_blank" rel="noopener" title="python 输入输出">
				<span class="desc oneline">Python 输入和输出Python 输入和输出 在前面几个章节中，我们其实已经接触了 Python 的输入输出的功能。本章节我们将具体介绍 Python 的输入输出。 输出格式美化 Python两种...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/seegroung">来自：	<span class="blog_title"> seegroung的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/xiaokang123456kao/article/details/73009480" target="_blank"  rel="noopener" title="Python中输入和输出" data-report-click='{"mod":"popu_387","index":"23","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/xiaokang123456kao\/article\/details\/73009480"}' data-report-view='{"mod":"popu_387","index":"23","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/xiaokang123456kao\/article\/details\/73009480"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python中输入和输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">06-11</span>
				<span class="read-num hover-hide">
					阅读数 
					3万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/xiaokang123456kao/article/details/73009480" target="_blank" rel="noopener" title="Python中输入和输出">
				<span class="desc oneline">一、标准输入输出1、打印到屏幕产生输出的最简单方法是使用print语句，可以通过用逗号分隔零个或多个表达式。这个函数传递表达式转换为一个字符串，如下结果写到标准输出-print(&quot;Pythonisre...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/xiaokang123456kao">来自：	<span class="blog_title"> 想作会飞的鱼的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/m0_37924639/article/details/78812808" target="_blank"  rel="noopener" title="python标准输入" data-report-click='{"mod":"popu_387","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/m0_37924639\/article\/details\/78812808"}' data-report-view='{"mod":"popu_387","index":"24","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/m0_37924639\/article\/details\/78812808"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python标准输入		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-15</span>
				<span class="read-num hover-hide">
					阅读数 
					7132</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/m0_37924639/article/details/78812808" target="_blank" rel="noopener" title="python标准输入">
				<span class="desc oneline">sys.stdinsys.stdin是sys模块下的标准输入，在终端直接输入时以Ctrl+D结束，例如下面代码保存为test.py：importsysforlineinsys.stdin:printl...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/m0_37924639">来自：	<span class="blog_title"> 我爱写报告的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/wangshuang1631/article/details/53896312" target="_blank"  rel="noopener" title="实时获取Python的print输出流" data-report-click='{"mod":"popu_387","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/wangshuang1631\/article\/details\/53896312"}' data-report-view='{"mod":"popu_387","index":"25","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/wangshuang1631\/article\/details\/53896312"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				实时获取Python的print输出流		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-27</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/wangshuang1631/article/details/53896312" target="_blank" rel="noopener" title="实时获取Python的print输出流">
				<span class="desc oneline">我的应用场景是：使用shell执行python文件，并且通过调用的返回值获取python的标准输出流。 shell程序如下：cmd=&#039;python &#039;$1&#039; &#039;$2&#039; &#039;$3&#039; &#039;$5&#039; &#039;$4RES...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/wangshuang1631">来自：	<span class="blog_title"> wangshuang1631的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/wujiandao/article/details/80232199" target="_blank"  rel="noopener" title="Python 3 的打印输出" data-report-click='{"mod":"popu_387","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/wujiandao\/article\/details\/80232199"}' data-report-view='{"mod":"popu_387","index":"26","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/wujiandao\/article\/details\/80232199"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python 3 的打印输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">05-07</span>
				<span class="read-num hover-hide">
					阅读数 
					572</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/wujiandao/article/details/80232199" target="_blank" rel="noopener" title="Python 3 的打印输出">
				<span class="desc oneline">Python 2 的打印语句 Print 从 Python 3 开始，变成了函数。遇到想要打印的 debug 数据，着实费了一把劲才搞懂了 Python Print 的输出规则。这是一段求解平方根的穷...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/wujiandao">来自：	<span class="blog_title"> wujiandao的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weizhixiang/article/details/51043412" target="_blank"  rel="noopener" title="Python3输出到html写文件需注意，出现前缀b&#039;" data-report-click='{"mod":"popu_387","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weizhixiang\/article\/details\/51043412"}' data-report-view='{"mod":"popu_387","index":"27","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weizhixiang\/article\/details\/51043412"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3输出到html写文件需注意，出现前缀b&#039;		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">04-02</span>
				<span class="read-num hover-hide">
					阅读数 
					2789</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weizhixiang/article/details/51043412" target="_blank" rel="noopener" title="Python3输出到html写文件需注意，出现前缀b&#039;">
				<span class="desc oneline">要注意open方法</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weizhixiang">来自：	<span class="blog_title"> 野生的世界</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/u011043775/article/details/55047431" target="_blank"  rel="noopener" title="[python3教程]第七章.输入输出(Input and Output)" data-report-click='{"mod":"popu_387","index":"28","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u011043775\/article\/details\/55047431"}' data-report-view='{"mod":"popu_387","index":"28","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u011043775\/article\/details\/55047431"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				[python3教程]第七章.输入输出(Input and Output)		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-13</span>
				<span class="read-num hover-hide">
					阅读数 
					4888</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/u011043775/article/details/55047431" target="_blank" rel="noopener" title="[python3教程]第七章.输入输出(Input and Output)">
				<span class="desc oneline">这一章介绍的是文件的输入输出，只是一些简单的例子，想要更深入的了解还是要去看模块的参考内容。...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/u011043775">来自：	<span class="blog_title"> 小曲的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/hu_xuefeng/article/details/51852515" target="_blank"  rel="noopener" title="Python3.3 print函数用法，print 格式化输出" data-report-click='{"mod":"popu_387","index":"29","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/hu_xuefeng\/article\/details\/51852515"}' data-report-view='{"mod":"popu_387","index":"29","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/hu_xuefeng\/article\/details\/51852515"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3.3 print函数用法，print 格式化输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-07</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/hu_xuefeng/article/details/51852515" target="_blank" rel="noopener" title="Python3.3 print函数用法，print 格式化输出">
				<span class="desc oneline">转载至：http://blog.sina.com.cn/s/blog_540775a30101bkek.html1.输出字符串&gt;&gt;&gt;strHello=&#039;HelloWorld&#039;&gt;&gt;&gt;print(strH...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/hu_xuefeng">来自：	<span class="blog_title"> 冰度特使的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_35653315/article/details/71642154" target="_blank"  rel="noopener" title="Python 2.7与Python3 的print有什么区别？" data-report-click='{"mod":"popu_387","index":"30","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_35653315\/article\/details\/71642154"}' data-report-view='{"mod":"popu_387","index":"30","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/weixin_35653315\/article\/details\/71642154"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python 2.7与Python3 的print有什么区别？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">05-11</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_35653315/article/details/71642154" target="_blank" rel="noopener" title="Python 2.7与Python3 的print有什么区别？">
				<span class="desc oneline">总地来说，Python2.7的print不是一个function，而Python3里的print是一个function。两都调用方式的主要区别如下：print&#039;thisisastring&#039;#pytho...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_35653315">来自：	<span class="blog_title"> Daniel2333的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/Jerry_1126/article/details/78513778" target="_blank"  rel="noopener" title="Python3.X中的print" data-report-click='{"mod":"popu_387","index":"31","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Jerry_1126\/article\/details\/78513778"}' data-report-view='{"mod":"popu_387","index":"31","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Jerry_1126\/article\/details\/78513778"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3.X中的print		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">11-12</span>
				<span class="read-num hover-hide">
					阅读数 
					1721</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/Jerry_1126/article/details/78513778" target="_blank" rel="noopener" title="Python3.X中的print">
				<span class="desc oneline">一直是用Python2.X，学习，做项目，差不多10来年了，突然发现慢慢2.X接近淘汰了，到2020，官方不再支持2.X；以后要使用Python3.X了。 虽然2与3大多相同，差别不大，但有些还是有不...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/Jerry_1126">来自：	<span class="blog_title"> 杰瑞的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/u011280600/article/details/88863364" target="_blank"  rel="noopener" title="python3 print用法" data-report-click='{"mod":"popu_387","index":"32","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u011280600\/article\/details\/88863364"}' data-report-view='{"mod":"popu_387","index":"32","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/u011280600\/article\/details\/88863364"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3 print用法		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">03-28</span>
				<span class="read-num hover-hide">
					阅读数 
					2803</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/u011280600/article/details/88863364" target="_blank" rel="noopener" title="python3 print用法">
				<span class="desc oneline">&quot;&quot;&quot;print用法版本:v1.0日期:2019.03.25作者:Catherinepython版本:3.7&quot;&quot;&quot;print(&quot;用法1:&quot;,end=&#039;&#039;)print(&#039;hello,world!&#039;)pr...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/u011280600">来自：	<span class="blog_title"> 尘埃落定</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/laochu250/article/details/70145037" target="_blank"  rel="noopener" title="解决python3输出中文的问题" data-report-click='{"mod":"popu_387","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/laochu250\/article\/details\/70145037"}' data-report-view='{"mod":"popu_387","index":"33","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/laochu250\/article\/details\/70145037"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				解决python3输出中文的问题		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">04-12</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/laochu250/article/details/70145037" target="_blank" rel="noopener" title="解决python3输出中文的问题">
				<span class="desc oneline">我是一个python小白，之前一直使用的英文来编码。今天突然想输出中文，结果出现很多问题。使用python版本是3.x，教程书却使用的2.x，然后就引来一些问题。首先python3默认使用utf-8编...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/laochu250">来自：	<span class="blog_title"> laochu250的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/akon_wang_hkbu/article/details/78085230" target="_blank"  rel="noopener" title="python3中, print横向输出" data-report-click='{"mod":"popu_387","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/akon_wang_hkbu\/article\/details\/78085230"}' data-report-view='{"mod":"popu_387","index":"34","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/akon_wang_hkbu\/article\/details\/78085230"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3中, print横向输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">09-25</span>
				<span class="read-num hover-hide">
					阅读数 
					6858</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/akon_wang_hkbu/article/details/78085230" target="_blank" rel="noopener" title="python3中, print横向输出">
				<span class="desc oneline">Python 2 ：print打印的时候，如果结尾有逗号，打出来时候不会换行。但是在python3里面就不行了。Python3:3.0的print最后加个参数end=&quot;&quot;就可以了...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/akon_wang_hkbu">来自：	<span class="blog_title"> akon_wang_hkbu的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/jasonLee_lijiaqi/article/details/79290414" target="_blank"  rel="noopener" title="python3 print输出不换行" data-report-click='{"mod":"popu_387","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/jasonLee_lijiaqi\/article\/details\/79290414"}' data-report-view='{"mod":"popu_387","index":"35","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/jasonLee_lijiaqi\/article\/details\/79290414"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3 print输出不换行		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-08</span>
				<span class="read-num hover-hide">
					阅读数 
					4748</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/jasonLee_lijiaqi/article/details/79290414" target="_blank" rel="noopener" title="python3 print输出不换行">
				<span class="desc oneline">python 3.x版本输出不换行格式如下print(x, end=&quot; &quot;) #  end=&quot;&quot; 可使输出不换行。双引号之间的内容就是结束的内容，# 可以是空格...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/jasonLee_lijiaqi">来自：	<span class="blog_title"> jasonLee的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/liuwenliang_002/article/details/79300697" target="_blank"  rel="noopener" title="Python3输入和输出" data-report-click='{"mod":"popu_387","index":"36","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/liuwenliang_002\/article\/details\/79300697"}' data-report-view='{"mod":"popu_387","index":"36","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/liuwenliang_002\/article\/details\/79300697"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3输入和输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-09</span>
				<span class="read-num hover-hide">
					阅读数 
					512</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/liuwenliang_002/article/details/79300697" target="_blank" rel="noopener" title="Python3输入和输出">
				<span class="desc oneline">&#039;&#039;&#039;Python3输入和输出1、输出格式美化Python两种输出值得方式：表达式语句和print()hanshu 第三种方式是使用文件对象的write()方法，标准输出文件可以用sys.stdout...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/liuwenliang_002">来自：	<span class="blog_title"> 大牛成长，潜心学习</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/sunshinewx1/article/details/79767045" target="_blank"  rel="noopener" title="在Python3中如何输出中文" data-report-click='{"mod":"popu_387","index":"37","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/sunshinewx1\/article\/details\/79767045"}' data-report-view='{"mod":"popu_387","index":"37","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/sunshinewx1\/article\/details\/79767045"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				在Python3中如何输出中文		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">03-31</span>
				<span class="read-num hover-hide">
					阅读数 
					8678</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/sunshinewx1/article/details/79767045" target="_blank" rel="noopener" title="在Python3中如何输出中文">
				<span class="desc oneline">                             在Python3中如何输出中文操作环境：python3.6.0     编辑器：Geany问题1：如何在编程中加中文注释？# -*- codi...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/sunshinewx1">来自：	<span class="blog_title"> sunshinewx1的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/sunshine_lyn/article/details/81033316" target="_blank"  rel="noopener" title="python3：浅谈input输入和print输出" data-report-click='{"mod":"popu_387","index":"38","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/sunshine_lyn\/article\/details\/81033316"}' data-report-view='{"mod":"popu_387","index":"38","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/sunshine_lyn\/article\/details\/81033316"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python3：浅谈input输入和print输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">07-13</span>
				<span class="read-num hover-hide">
					阅读数 
					6456</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/sunshine_lyn/article/details/81033316" target="_blank" rel="noopener" title="python3：浅谈input输入和print输出">
				<span class="desc oneline">    初学python，这一门现代语言，虽然听身边的人说过这一门语言学其来还是比较简单的，但当我翻阅书籍、查询资料时，我感觉要完全掌握它还是有一定的难度，需要花不少的时间。我打算用两个月时间来完全搞...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/sunshine_lyn">来自：	<span class="blog_title"> sunshine_lyn的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/Px01Ih8/article/details/82111640" target="_blank"  rel="noopener" title="Python3进阶：print 打印和输出" data-report-click='{"mod":"popu_387","index":"39","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Px01Ih8\/article\/details\/82111640"}' data-report-view='{"mod":"popu_387","index":"39","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/Px01Ih8\/article\/details\/82111640"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python3进阶：print 打印和输出		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">08-26</span>
				<span class="read-num hover-hide">
					阅读数 
					1155</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/Px01Ih8/article/details/82111640" target="_blank" rel="noopener" title="Python3进阶：print 打印和输出">
				<span class="desc oneline">                                                                                                    ...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/Px01Ih8">来自：	<span class="blog_title"> sfsfsfsdfsdffdsFsd</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/PY0312/article/details/101087356" target="_blank"  rel="noopener" title="爬虫福利二 之 妹子图网MM批量下载" data-report-click='{"mod":"popu_387","index":"40","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/PY0312\/article\/details\/101087356"}' data-report-view='{"mod":"popu_387","index":"40","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/PY0312\/article\/details\/101087356"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				爬虫福利二 之 妹子图网MM批量下载		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-24</span>
				<span class="read-num hover-hide">
					阅读数 
					21万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/PY0312/article/details/101087356" target="_blank" rel="noopener" title="爬虫福利二 之 妹子图网MM批量下载">
				<span class="desc oneline">爬虫福利一：27报网MM批量下载  点击看了本文，相信大家对爬虫一定会产生强烈的兴趣，激励自己去学习爬虫，在这里提前祝：大家学有所成！目标网站：妹子图网环境：Python3.x相关第三方模块：requ...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/PY0312">来自：	<span class="blog_title"> Nick.Peng 的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
                    <div class="recommend-item-box type_hot_word">
                    <div class="content clearfix">
                        <div class="float-left">
                                                                                <span>
                                <a href="https://blog.csdn.net/yilovexing/article/details/80577510" target="_blank">
                                python</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/slwbcsdn/article/details/53458352" target="_blank">
                                json</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/csdnnews/article/details/83753246" target="_blank">
                                java</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/qq_35077512/article/details/88952519" target="_blank">
                                mysql</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/pdcfighting/article/details/80297499" target="_blank">
                                pycharm</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/sinyu890807/article/details/97142065" target="_blank">
                                android</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/gexiaoyizhimei/article/details/100122368" target="_blank">
                                linux</a>
                            </span>
                                                        <span>
                                <a href="https://download.csdn.net/download/xhg_gszs/10978826" target="_blank">
                                json格式</a>
                            </span>
                                                    
                                                                                <span>
                                <a href="https://www.csdn.net/gather_16/MtTaIg2sNC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#影院售票系统有哪些</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_10/MtTaIg2sNS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#鼠标相对窗体的坐标</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_18/MtTaIg2sNi1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 如何快速的求和</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1b/MtTaIg2sNy1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 界面设计</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_11/MtTaIg2sOC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#窗口隐藏</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1e/MtTaIg2sOS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 动态注入il</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1c/MtTaIg3sMC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                测试c#程序的软件</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1c/MtTaIg3sMS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                加入队列c#</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1f/MtTaIg3sMy1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 模型验证取消</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1e/MtTaIg3sNC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 小数点后保留4位</a>
                            </span>
                                                                            </div>
                    </div>
                    </div>
                                    <div class="recommend-loading-box">
                    <img src='https://csdnimg.cn/release/phoenix/images/feedLoading.gif'>
                </div>
                <div class="recommend-end-box">
                    <p class="text-center">没有更多推荐了，<a href="https://blog.csdn.net/" class="c-blue c-blue-hover c-blue-focus">返回首页</a></p>
                </div>
            </div>
                            <div class="template-box">
                    <span>©️2019 CSDN</span><span class="point"></span>
                <span>皮肤主题: 大白</span>
                <span> 设计师:
                                            CSDN官方博客                                    </span>
                </div>
                    </main>
        <aside class="blog_container_aside">
	<!--主页引入-->

    <div id="asideProfile" class="aside-box">
    <!-- <h3 class="aside-title">个人资料</h3> -->
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://blog.csdn.net/nsjlive"  data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/nsjlive"}'>
                <img src="https://profile.csdnimg.cn/B/A/1/3_nsjlive" class="avatar_pic" username='nsjlive'>
                                    <img src="https://g.csdnimg.cn/static/user-reg-year/1x/2.png" class="user-years">
                            </a>
                    </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div>
                                <span class="name csdn-tracking-statistics tracking-click "   data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/nsjlive"}' username='nsjlive'>
                    <a href="https://blog.csdn.net/nsjlive" class="" id="uid" title='nsjlive'>
                    nsjlive                    </a>
                </span>
            </div>
            <div class="profile-intro-name-boxFooter">
                                                <span class="personal-home-page" style='right:-96px;'><a target="_blank" href="https://me.csdn.net/nsjlive">TA的个人主页 ></a></span>
                            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
                <dl class="text-center" title="224">
                            <dt><a href="https://blog.csdn.net/nsjlive" data-report-query="t=1">原创</a></dt>
                <dd><a href="https://blog.csdn.net/nsjlive" data-report-query="t=1"><span class="count">224</span></a></dd>
                    </dl>
        <dl class="text-center" id="fanBox" title="7">
            <dt>粉丝</dt>
            <dd><span class="count" id="fan">7</span></dd>
        </dl>
        <dl class="text-center" title="21">
            <dt>获赞</dt>
            <dd><span class="count">21</span></dd>
        </dl>
        <dl class="text-center" title="14">
            <dt>评论</dt>
            <dd><span class="count">14</span></dd>
        </dl>
        <dl class="text-center" title="79841">
            <dt>访问</dt>
            <dd><span class="count">7万+</span></dd>
        </dl>
    </div>
    <div class="grade-box clearfix">
        <dl class="aside-box-footerClassify">
            <dt>等级:</dt>
            <dd>
                <a href="https://blog.csdn.net/home/help.html#level" title="5级,点击查看等级说明" target="_blank">
                    <svg class="icon icon-level" aria-hidden="true">
                        <use xlink:href="#csdnc-bloglevel-5"></use>
                    </svg>
                </a>
            </dd>
        </dl>
        <dl title="7940">
            <dt>周排名:</dt>
            <dd>
                <a class="grade-box-rankA" href="https://blog.csdn.net/rank/writing_rank" target="_blank">
                    7940                </a>
            </dd>
        </dl>
        <dl>
            <dt>积分:</dt>
            <dd title="3003">
                3003            </dd>
        </dl>
        <dl title="25340">
            <dt>总排名:</dt>
            <dd>
                <a class="grade-box-rankA" href="https://blog.csdn.net/rank/writing_rank_total" target="_blank">
                    2万+                </a>
            </dd>
        </dl>
    </div>
    <div class="aside-box-footer">
                    <div class="badge-box d-flex">
                <div class="profile-medal">勋章:</div>
                <div class="badge d-flex">
                                                                                                        <div class="icon-badge" title="持之以恒">
                                    <div class="mouse-box">
                                        <img src="https://csdnimg.cn/medal/chizhiyiheng@120.png" alt="">
                                        <div class="icon-arrow"></div>
                                    </div>
                                    <div class="grade-detail-box">
                                        <div class="pos-box">
                                            <div class="left-box d-flex justify-content-center align-items-center flex-column">
                                                <img src="https://csdnimg.cn/medal/chizhiyiheng@120.png" alt="">
                                                <p>持之以恒</p>
                                            </div>
                                            <div class="right-box">
                                                授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里，不积小流无以成江海，程序人生的精彩需要坚持不懈地积累！                                            </div>
                                        </div>
                                    </div>
                                </div>
                                                                                                                <div class="icon-badge" title="勤写标兵Lv3">
                                    <div class="mouse-box">
                                        <img src="https://csdnimg.cn/medal/qixiebiaobing3@120.png" alt="">
                                        <div class="icon-arrow"></div>
                                    </div>
                                    <div class="grade-detail-box">
                                        <div class="pos-box">
                                            <div class="left-box d-flex justify-content-center align-items-center flex-column">
                                                <img src="https://csdnimg.cn/medal/qixiebiaobing3@120.png" alt="">
                                                <p>勤写标兵Lv3</p>
                                            </div>
                                            <div class="right-box">
                                                授予每个自然周发布7篇到8篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。                                            </div>
                                        </div>
                                    </div>
                                </div>
                                                                                        </div>
                <script>
                    (function($) {
                        setTimeout(function() {
                            $('div.icon-badge.show-moment').removeClass('show-moment');
                        }, 5000);
                    })(window.jQuery)
                </script>
            </div>
                
    </div>
        <div class="profile-intro-name-boxOpration">
        <div class="opt-letter-watch-box">
                            <a class="personal-watch bt-button" id="btnAttent" data-report-click='{"mod":"popu_379"}'>关注</a>
                    </div>
        <div class='opt-letter-watch-box'>
            <a class="bt-button btn-red-hollow personal-letter" href=https://im.csdn.net/im/main.html?userName=nsjlive target="_blank" rel="noopener">私信</a>
        </div>
    </div>
    </div>
<script>
    function watchBtnChange(flag, username) {
        $('span.blog-expert-button-follow').each(function(index) {
            if (flag) {
                if ($(this).attr("data-name") == username) {
                    $(this).html('<span class="hover-hide">已关注</span><span class="hover-show">取消</span>').removeClass('btn-red-follow').addClass('btn-gray-follow attented');
                }
            } else {
                if ($(this).attr("data-name") == username) {
                    $(this).html("关注").addClass('btn-red-follow').removeClass('btn-gray-follow attented');
                }
            }
        })
        if (username == $('p.csdn-tracking-statistics').attr("username")) {
            if (flag) {
                $('#btnAttent').addClass("attented").text("已关注").removeClass('btn-red-hollow').addClass('btn-gray-hollow');
                changeFans(1)
            } else {
                $('#btnAttent').text("关注").addClass('btn-red-hollow').removeClass('btn-gray-hollow attented');
                changeFans(-1)
            }
        }

    }

    function changeFans(num) {
        if ($('#fan').text().indexOf('+') < 0) {
            $('#fan').text(parseInt($('#fan').text()) + num);
        } else {
            $('#fanBox').attr('title', parseInt($('#fanBox').attr('title')) + num);
        }
    }
    window.csdn = window.csdn ? window.csdn : {};
    window.csdn.watchBtnChange = watchBtnChange;
</script><div class="csdn-tracking-statistics mb8 box-shadow" data-pid="blog" data-report-click='{"mod":"popu_4"}' data-report-view='{"mod":"popu_4"}' style="height:250px;">
    <div class="aside-content text-center" id="cpro_u2734133">
        <div id="kp_box_56" data-pid="56"><script  data-ad-client="ca-pub-1076724771190722" async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 博客内页左上视窗-20181120 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="7700527946"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=56&a=703&c=0&k=&d=1&t=3&u=6ee3b1edc47d47a5bf841f7572ed02e1"></div>    </div>
</div>
<div id="asideNewArticle" class="aside-box">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/nsjlive/article/details/104635477"}' href="https://blog.csdn.net/nsjlive/article/details/104635477" target="_blank" >
                                        imdb.load_data(num_words=top_words)无法下载数据集的问题 A local file was found, but it seems to be incomplete                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/nsjlive/article/details/104575551"}' href="https://blog.csdn.net/nsjlive/article/details/104575551" target="_blank" >
                                        pandas(python)读取csv格式数据时header参数设置及其他事项                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/nsjlive/article/details/104560581"}' href="https://blog.csdn.net/nsjlive/article/details/104560581" target="_blank" >
                                        关于pandas的DataFrame、contact、values、shape、reshape的理解 以及与numpy 关于shape 的区分                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/nsjlive/article/details/104496463"}' href="https://blog.csdn.net/nsjlive/article/details/104496463" target="_blank" >
                                        在pycharm 中调用pandas 和sklearn 报错No module named &#039;sklearn&#039;  、No module named &#039;pandas&#039;                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/nsjlive/article/details/102644122"}' href="https://blog.csdn.net/nsjlive/article/details/102644122" target="_blank" >
                                        bash  停止                </a>
            </li>
                    </ul>
    </div>
</div>
    <div id="asideCategory" class="aside-box flexible-box"
         style="">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_9757626.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_9757626.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_9757626.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151124774.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">神经网络</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">4篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7270796.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7270796.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_7270796.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Python学习</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">8篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7283137.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7283137.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_7283137.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140012416.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">java</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">140篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7514928.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7514928.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_7514928.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140145169.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">c++</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">5篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779119.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779119.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_7779119.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151043371.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">leetcode</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">37篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779121.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779121.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_7779121.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019092715111047.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">C#</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">30篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8077017.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8077017.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8077017.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918135101160.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">String</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">2篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118287.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118287.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8118287.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019092715111047.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">j</span>
                                                    </span>
                        <!--####是否付费-->
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118295.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118295.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8118295.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151043371.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Coding Interviews</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">62篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8239832.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8239832.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8239832.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151117521.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">IO</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">4篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8271233.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8271233.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8271233.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">MYSQL</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">8篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8279104.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8279104.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8279104.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918135101160.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">C</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8310114.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8310114.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8310114.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">idea使用技巧</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">4篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8314766.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8314766.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8314766.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">二叉树</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">3篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8445666.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8445666.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8445666.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">redis</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8642285.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8642285.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8642285.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Spring</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">3篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8822835.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8822835.html"}'
                                               href="https://blog.csdn.net/nsjlive/category_8822835.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151043371.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">网络通信</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">3篇</span>
                                            </a>
                </li>
                    </ul>
    </div>
        <p class="text-center">
        <a class="btn btn-link-blue flexible-btn" data-fbox="aside-archive">展开</a>
    </p>
    </div>
<div id="asideArchive" class="aside-box flexible-box">
    <h3 class="aside-title">归档</h3>
    <div class="aside-content">
        <ul class="archive-list">
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2020/03" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2020/03"}'>
                    2020年3月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2020/02" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2020/02"}'>
                    2020年2月                    <span class="count float-right">3篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/10" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/10"}'>
                    2019年10月                    <span class="count float-right">10篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/09" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/09"}'>
                    2019年9月                    <span class="count float-right">6篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/08" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/08"}'>
                    2019年8月                    <span class="count float-right">6篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/07" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/07"}'>
                    2019年7月                    <span class="count float-right">11篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/06" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/06"}'>
                    2019年6月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/05" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/05"}'>
                    2019年5月                    <span class="count float-right">6篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/04" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/04"}'>
                    2019年4月                    <span class="count float-right">19篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/03" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/03"}'>
                    2019年3月                    <span class="count float-right">52篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/02" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/02"}'>
                    2019年2月                    <span class="count float-right">22篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2019/01" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2019/01"}'>
                    2019年1月                    <span class="count float-right">3篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/12" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/12"}'>
                    2018年12月                    <span class="count float-right">2篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/11" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/11"}'>
                    2018年11月                    <span class="count float-right">11篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/10" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/10"}'>
                    2018年10月                    <span class="count float-right">13篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/09" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/09"}'>
                    2018年9月                    <span class="count float-right">27篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/08" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/08"}'>
                    2018年8月                    <span class="count float-right">5篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/07" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/07"}'>
                    2018年7月                    <span class="count float-right">29篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/03" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/03"}'>
                    2018年3月                    <span class="count float-right">2篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2018/01" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2018/01"}'>
                    2018年1月                    <span class="count float-right">8篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2017/11" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2017/11"}'>
                    2017年11月                    <span class="count float-right">7篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/nsjlive/article/month/2017/10" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/nsjlive/article/month/2017/10"}'>
                    2017年10月                    <span class="count float-right">5篇</span>
                </a>
            </li>
                    </ul>
    </div>
        <p class="text-center">
        <a class="btn btn-link-blue flexible-btn" data-fbox="aside-archive">展开</a>
    </p>
    </div>
<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/nsjlive/article/details/79546363"}' 
                     href="https://blog.csdn.net/nsjlive/article/details/79546363" >
                                                获取文件上传路径报错：java.io.FileNotFoundException: (文件名、目录名或卷标语法不正确。)                    </a>
					<p class="read">阅读数 <span>10883</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/nsjlive/article/details/78337350"}' 
                     href="https://blog.csdn.net/nsjlive/article/details/78337350" >
                                                python打开文件报错OSError: [Errno 22] Invalid argument:                    </a>
					<p class="read">阅读数 <span>7752</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/nsjlive/article/details/81130298"}' 
                     href="https://blog.csdn.net/nsjlive/article/details/81130298" >
                                                随机产生10个1-100之间的数放到List中，要求这10个数不能有重复，并且都是偶数（添加10次，可能循环很多次）                    </a>
					<p class="read">阅读数 <span>3709</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/nsjlive/article/details/91795922"}' 
                     href="https://blog.csdn.net/nsjlive/article/details/91795922" >
                                                Java中的get()和set()方法                    </a>
					<p class="read">阅读数 <span>3533</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/nsjlive/article/details/88075234"}' 
                     href="https://blog.csdn.net/nsjlive/article/details/88075234" >
                                                Collections.sort                    </a>
					<p class="read">阅读数 <span>2932</span></p>
				</li>
					</ul>
	</div>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/nsjlive/article/details/101084065#comments"}'  target="_blank" href="https://blog.csdn.net/nsjlive/article/details/101084065#comments">数组构建二叉树  （存在问题 ,n...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_40187049" class="user-name" target="_blank">weixin_40187049：</a>[reply]nsjlive[/reply]而且有null值的情况会报错啊                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/nsjlive/article/details/101084065#comments"}'  target="_blank" href="https://blog.csdn.net/nsjlive/article/details/101084065#comments">数组构建二叉树  （存在问题 ,n...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_40187049" class="user-name" target="_blank">weixin_40187049：</a>[reply]nsjlive[/reply][code=java]
public static  TreeNode createTree(String[] ser,int[] index){
        if(index[0] &gt;= ser.length ){//trim() 方法用于删除字符串的头尾空白符。
            index[0]++;
            return null;
        }
//Integer.parseInt()方法将一个字符串转换成int型
 
        TreeNode root = new TreeNode(Integer.parseInt(ser[index[0]++]));//先序遍历
        root.left = createTree(ser, index);//与下面的index一致
        root.right = createTree(ser, index);
        return root;
 
    }
[/code]

为什么index[0]前后加了两次呢？                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/nsjlive/article/details/101084065#comments"}'  target="_blank" href="https://blog.csdn.net/nsjlive/article/details/101084065#comments">数组构建二叉树  （存在问题 ,n...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/nsjlive" class="user-name" target="_blank">nsjlive：</a>[reply]weixin_40187049[/reply]哪儿不对？                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/nsjlive/article/details/101084065#comments"}'  target="_blank" href="https://blog.csdn.net/nsjlive/article/details/101084065#comments">数组构建二叉树  （存在问题 ,n...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_40187049" class="user-name" target="_blank">weixin_40187049：</a>中间生成二叉树的代码有问题吧，不对啊                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/nsjlive/article/details/88032748#comments"}'  target="_blank" href="https://blog.csdn.net/nsjlive/article/details/88032748#comments">链表的节点与指针 （重新理解）</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_42037755" class="user-name" target="_blank">weixin_42037755：</a>谢谢                </p>
            </li>
                    </ul>
    </div>
</div>
	<div id="asideFooter">
                    <div class="aside-box">
                <div id="kp_box_57" data-pid="57"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 博客内页左下视窗-20181130 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="1894159733"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&a=707&c=0&k=&d=1&t=3&u=703d498cee5d49e1b6df87e83780b911"></div>            </div>
        		<div class="aside-box">
			<div class="persion_article">
			</div>
		</div>
	</div>
</aside>
<script src="https://csdnimg.cn/pubfooter/js/publib_footer-1.0.3.js" data-isfootertrack="false" type="text/javascript"></script>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script src="https://g.csdnimg.cn/user-tooltip/1.9/user-tooltip.js"  type="text/javascript"></script>
    </div>
                <div class="recommend-right  align-items-stretch clearfix">
      <aside class="recommend-right_aside">
        <div id="recommend-right" style="height:100%;">
          <div class='d-flex flex-column aside-box groupfile' id="groupfile">
            <h3 class="aside-title">目录</h3>
            <div class="align-items-stretch group_item">
              <div class="toc-container">
              <div class="pos-box">
                <div class="icon-arrow"></div>
                <div class="scroll-box">
                  <div class="toc-box"></div>
                </div>
              </div>
            </div>
          </div>
          </div>
                        <div id="addAdBox" style="display:none">
                  <div id="kp_box_479" data-pid="479"><script type="text/javascript">
        (function() {
            var s = "_" + Math.random().toString(36).slice(2);
            document.write('<div style="" id="' + s + '"></div>');
            (window.slotbydup = window.slotbydup || []).push({
                id: "u4269298",
                container: s
            });
        })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" >
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&a=1440&c=0&k=&d=1&t=3&u=0912e2550e1e4d519fabf0583d962af2"></div>              </div>
                    <div class='aside-box kind_person d-flex flex-column'>
          <h3 class="aside-title">分类专栏</h3>
              <div class="align-items-stretch kindof_item">
                <div class="aside-content">
                  <ul>
                                        <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_9757626.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_9757626.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_9757626.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151053287.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">神经网络</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">4篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7270796.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7270796.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_7270796.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Python学习</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">8篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7283137.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7283137.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_7283137.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140145169.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">java</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">140篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7514928.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7514928.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_7514928.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151053287.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">c++</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">5篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779119.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779119.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_7779119.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140213434.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">leetcode</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">37篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779121.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_7779121.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_7779121.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151101105.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">C#</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">30篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8077017.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8077017.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8077017.html">
                                                                <img src="https://img-blog.csdnimg.cn/2019091813595558.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">String</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">2篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118287.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118287.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8118287.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151026427.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">j</span>
                                                                </span>
                              <!--####是否付费-->
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118295.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8118295.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8118295.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Coding Interviews</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">62篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8239832.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8239832.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8239832.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140213434.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">IO</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">4篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8271233.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8271233.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8271233.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">MYSQL</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">8篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8279104.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8279104.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8279104.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140213434.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">C</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8310114.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8310114.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8310114.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918135101160.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">idea使用技巧</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">4篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8314766.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8314766.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8314766.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">二叉树</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">3篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8445666.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8445666.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8445666.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140145169.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">redis</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8642285.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8642285.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8642285.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Spring</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">3篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8822835.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/nsjlive/category_8822835.html"}'
                                                      href="https://blog.csdn.net/nsjlive/category_8822835.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140012416.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">网络通信</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">3篇</span>
                                                        </a>
                      </li>
                                      </ul>
              </div>
              </div>
              
          </div>
      </div>
      </aside>  
    </div>
    
    </div>
<div class="mask-dark"></div>
<div class="tool-box vertical">
	<ul class="meau-list">
		<li class="btn-like-box ">
			<button class=" low-height hover-box btn-like " title="点赞">
				<svg class="icon active hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-thumbsup-ok"></use>
				</svg>
				<svg class="icon no-active hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-thumbsup"></use>
				</svg>
				<span class="hover-show text-box text">
					<span class="no-active">点赞</span>
					<span class="active">取消点赞</span>
				</span>
				<p id="supportCount"></p>
			</button>
		</li>
		<li class="to-commentBox" id = 'sharePost' data-report-click='{"mod":"popu_794","dest":"https://blog.csdn.net/nsjlive/article/details/78397143"}'>
			<a class="btn-comments low-height hover-box" >
				<svg class="icon hover-hide" aria-hidden="true" style="padding-top: 3px;">
					<use xlink:href="#icon-csdnc-fenxiang"></use>
				</svg>
				<span class="hover-show text">海报</span>
				<p class="">
				</p>
			</a>
		</li>
		<li class="to-commentBox">
						<a class="btn-comments low-height hover-box" title="写评论" href="#commentBox">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-comments"></use>
				</svg>
				<span class="hover-show text">评论</span>
				<p class="">
										</p>
			</a>
		</li>
		<li class="toc-container-box" id="liTocBox">
			<a class="btn-toc low-height hover-box btn-comments" title="目录">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-contents"></use>
				</svg>
				<span class="hover-show text">目录</span>
			</a>
			<div class="toc-container">
				<div class="pos-box">
					<div class="icon-arrow"></div>
					<div class="scroll-box">
						<div class="toc-box"></div>
					</div>
				</div>
				<div class="opt-box">
					<button class="btn-opt prev nomore" title="向上">
						<svg class="icon" aria-hidden="true">
							<use xlink:href="#csdnc-chevronup"></use>
						</svg>
					</button>
					<button class="btn-opt next">
						<svg class="icon" aria-hidden="true">
							<use xlink:href="#csdnc-chevrondown"></use>
						</svg>
					</button>
				</div>
			</div>

		</li>
		<li>
			<a class="btn-bookmark low-height hover-box btn-comments"  data-report-click='{"mod":"popu_824"}' title="收藏">
				<svg class="icon active hover-hide" aria-hidden="true" style="padding-top: 2px;">
					<use xlink:href="#icon-shoucangjia"></use>
				</svg>
				<svg class="icon no-active hover-hide" aria-hidden="true" style="padding-top: 2px;">
					<use xlink:href="#icon-csdnc-Collection-G" ></use>
				</svg>
					<span class="hover-show text">收藏</span>
				<!-- <span class="hover-show text-box text">
					<span class="no-active">收藏</span>
					<span class="active">取消收藏</span>
				</span> -->
			</a>
		</li>
		<li class="bdsharebuttonbox">
			<div class="weixin-qr btn-comments low-height hover-box" >
				<a id="btnQrShare" class="bds_weixin clear-share-style" data-report-click='{"mod":"popu_831","dest":""}'  title="手机看"></a>
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-usephone"></use>
				</svg>
				<span class="hover-show text text3">
					手机看
				</span>
			</div>
		</li>
							<li class="widescreen-hide">
				<a class="prev btn-comments low-height hover-box" href="https://blog.csdn.net/nsjlive/article/details/78385172" title="指针与词典">
					<svg class="icon hover-hide" aria-hidden="true">
						<use xlink:href="#csdnc-chevronleft"></use>
					</svg>
					<span class="hover-show text text3">上一篇</span>
				</a>
			</li>
								<li class="widescreen-hide">
			<a class="next btn-comments hover-box low-height" href="https://blog.csdn.net/nsjlive/article/details/78417171" title="numpy初步使用">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-chevronright"></use>
				</svg>
				<span class="hover-show text text3">下一篇</span>
			</a>
		</li>
						<!-- 宽屏更多按钮 -->
		<li class="widescreen-more">
			<a class="btn-comments chat-ask-button low-height hover-box" title="快问" href="#chatqa">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-more"></use>
				</svg>
				<span class="hover-show text">更多</span>

			</a>
			<ul class="widescreen-more-box">
													<li class="widescreen-more">
						<a class="btn-comments low-height hover-box" href="https://blog.csdn.net/nsjlive/article/details/78385172" title="指针与词典">
							<svg class="icon hover-hide" aria-hidden="true">
								<use xlink:href="#csdnc-chevronleft"></use>
							</svg>
							<span class="hover-show text text3">上一篇</span>
						</a>
					</li>
																<li class="widescreen-more">
					<a class="btn-comments hover-box low-height" href="https://blog.csdn.net/nsjlive/article/details/78417171" title="numpy初步使用">
						<svg class="icon hover-hide" aria-hidden="true">
							<use xlink:href="#csdnc-chevronright"></use>
						</svg>
						<span class="hover-show text text3">下一篇</span>
					</a>
				</li>
							</ul>
		</li>
        		<li class="to-commentBox to-reward">
			<a class="btn-comments low-height hover-box" data-report-click='{"mod":"popu_830" "dest":""}'  title="打赏">
				<svg class="hover-hide" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
					<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
						<g transform="translate(-1398.000000, -486.000000)" fill-rule="nonzero">
							<g transform="translate(1398.000000, 486.000000)">
								<path d="M0,12 C0,16.287187 2.287187,20.2487113 6,22.3923048 C9.7128129,24.5358984 14.2871871,24.5358984 18,22.3923048 C21.712813,20.2487113 24,16.287187 24,12 C24,5.37258296 18.627417,0 12,0 C5.372583,0 0,5.37258296 0,12 Z" id="路径" fill-opacity="0.3" fill="#FF5A52"></path>
								<path d="M2.09340659,11.9505494 C2.09340659,15.4721673 3.97216734,18.7262766 7.02197798,20.4870856 C10.0717886,22.2478946 13.8293103,22.2478946 16.8791209,20.4870856 C19.9289316,18.7262766 21.8076923,15.4721673 21.8076923,11.9505494 C21.8076923,6.50659974 17.3944991,2.09340659 11.9505495,2.09340659 C6.50659977,2.09340659 2.09340659,6.50659974 2.09340659,11.9505494 Z" id="路径" fill="#F63D47"></path>
								<path d="M11.3005025,5.28638434 L12.7115578,5.28638434 L12.7115578,6.87854416 L14.1105528,6.87854416 C14.4,6.39607148 14.6592965,5.89550609 14.8884422,5.37081705 L16.1849246,5.82313519 C15.99799,6.23926787 15.7929648,6.58906055 15.5758794,6.88457507 L18,6.88457507 L18,9.84575109 L16.6733668,9.84575109 L16.6733668,8.03647857 L7.33869347,8.03647857 L7.33869347,9.85781291 L6,9.85781291 L6,6.87854416 L8.51457286,6.87854416 C8.31557789,6.52875147 8.08040201,6.1910206 7.80904523,5.86535155 L9.08140703,5.4009716 C9.39497488,5.80504246 9.67236181,6.29957695 9.92562814,6.88457507 L11.3065327,6.88457507 L11.3065327,5.28638434 L11.3005025,5.28638434 Z M12.8571429,13.9657994 C12.6552823,15.5675992 12.2332101,16.6234672 11.5848095,17.1394027 C10.8813559,17.8053195 9.1991844,18.2312662 6.54441188,18.4292415 L6,17.2233922 C8.22046642,17.1394027 9.68854339,16.8454395 10.3919969,16.3415024 C11.0098127,15.8735609 11.3768319,15.0456644 11.4930547,13.8578129 L12.8571429,13.9657994 Z M16.8571429,12.1435272 L16.8571429,15.9892245 L15.5161905,15.9892245 L15.5161905,13.3067319 L9.05523809,13.3067319 L9.05523809,16.1435272 L7.71428571,16.1435272 L7.71428571,12.1435272 L16.8571429,12.1435272 L16.8571429,12.1435272 Z M8.28571429,8.71495577 L15.7142857,8.71495577 L15.7142857,11.5720986 L8.28571429,11.5720986 L8.28571429,8.71495577 L8.28571429,8.71495577 Z M14.5714286,10.4292415 L14.5714286,9.28638434 L10,9.28638434 L10,10.4292415 L14.5714286,10.4292415 Z M12.9579832,16.1435272 C14.8187275,16.4853162 16.4993998,16.9018717 18,17.3931934 L17.2436975,18.4292415 C15.635054,17.8311106 13.9783914,17.3664911 12.2857143,17.0407235 L12.9579832,16.1435272 L12.9579832,16.1435272 Z" id="形状" fill="#FFFFFF"></path>
							</g>
						</g>
					</g>
				</svg>
				<span class="hover-show text">打赏</span>
			</a>
							<div id="reward" class="reward-box">
	<p class="rewad-title">打赏<span class="reward-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></span></p>
	<dl>
		<dd><a href="javascript:;"><img src="https://profile.csdnimg.cn/B/A/1/3_nsjlive" alt=""></a></dd>
		<dt>
			<p class="blog-name">nsjlive</p>
			<p class="blog-discript">“你的鼓励将是我创作的最大动力”</p>
		</dt>
	</dl>
	<div class="money-box">
        			            	<span class="choosed choose_money" data-id="5">5C币</span>
			        							<span class="choose_money" data-id="10">10C币</span>
			        							<span class="choose_money" data-id="20">20C币</span>
			        							<span class="choose_money" data-id="50">50C币</span>
			        							<span class="choose_money" data-id="100">100C币</span>
			        							<span class="choose_money" data-id="200">200C币</span>
			        	</div>
	<div class="sure-box">
		<p class="is-have-money"><a class="reward-sure">确定</a></p>
	</div>
</div>

					</li>
        	</ul>
</div>
<div id = 'tool-post-common'>
	<div class = 'tool_post_box'>
		<img class = 'tool_post_img' src="https://csdnimg.cn/release/phoenix/write/assets/postShareBack.png" alt="">
		<div id = 'shareCode'></div>
	</div>
</div>
<div id="share-bg-shadow">
<div id="share-qrcode-box">
    <h3>分享到微信朋友圈</h3>
    <div class='qrcode-img-box'>
        <a class="btn-close">×</a>
        <div id='shareQrCode'></div>
	</div>
    <p>扫一扫，手机浏览</p>
</div>
</div>
<script>
		var imgReal = new Image();
		imgReal.src = "https://csdnimg.cn/release/phoenix/write/assets/postShareBack.png"
</script>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/qrcode-7c90a92189.min.js"></script>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/icon-1349369f06.js"></script>
<script src="//g.csdnimg.cn/??sharewx/1.2.1/sharewx.js" type="text/javascript"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/collection-box/1.1.7/collection-box.js"></script><script>
    var recommendCount = 40;
    recommendCount = recommendCount > 1 ? (recommendCount + (recommendCount>6 ? 2 : 1)) : recommendCount;
    var ChannelId = 16;
    var articleId = "78397143";
    var commentscount = 0;
    var islock = false;
    var curentUrl = "https://blog.csdn.net/nsjlive/article/details/78397143";
    var myUrl = "https://my.csdn.net/";
    //1禁止评论，2正常
    var commentAuth = 2;
    //百度搜索
    var baiduKey = "python3 输出和输出_Python_nsjlive的博客-CSDN博客";
    var needInsertBaidu = true;
    // 代码段样式
    var codeStyle = '';
	var highlight = ["python","3","\u8f93\u51fa","\u8f93\u51fa"];//高亮数组

    var share_card_url = 'https://blog.csdn.net/nsjlive/article/shareArticleCardPage?article_id=78397143'
    var RecommendBlogExpertList = [{"user_name":"Amber_shi","nick_name":"\u77f3\u5934\u91cc\u8e66\u51fa\u7684\u7334\u5b50","avatar":"https:\/\/profile.csdnimg.cn\/A\/8\/7\/3_amber_shi","is_expert":false,"article_count":14,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"xHibiki","nick_name":"xHibiki","avatar":"https:\/\/profile.csdnimg.cn\/1\/E\/E\/3_xhibiki","is_expert":false,"article_count":78,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"weixin_43378248","nick_name":"-\u8c01\u8c01\u8c01\u8c01","avatar":"https:\/\/profile.csdnimg.cn\/5\/3\/E\/3_weixin_43378248","is_expert":false,"article_count":60,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"luoluo19550418","nick_name":"csluo19550418","avatar":"https:\/\/profile.csdnimg.cn\/5\/2\/1\/3_luoluo19550418","is_expert":false,"article_count":71,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"qq_30061245","nick_name":"\u97e9\u5c0f\u6db5","avatar":"https:\/\/profile.csdnimg.cn\/2\/D\/3\/3_qq_30061245","is_expert":false,"article_count":1,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"haoxiaoyan","nick_name":"\u8611\u83c7\u4e01","avatar":"https:\/\/profile.csdnimg.cn\/9\/6\/8\/3_haoxiaoyan","is_expert":false,"article_count":286,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"liuzonghao88","nick_name":"liuzh(\u5c11\u660a)","avatar":"https:\/\/profile.csdnimg.cn\/3\/A\/3\/3_liuzonghao88","is_expert":false,"article_count":87,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"masbbx123","nick_name":"masbbx123","avatar":"https:\/\/profile.csdnimg.cn\/4\/1\/9\/3_masbbx123","is_expert":false,"article_count":87,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"weixin_44074810","nick_name":"\u5b97\u6587\u535a","avatar":"https:\/\/profile.csdnimg.cn\/1\/1\/0\/3_weixin_44074810","is_expert":false,"article_count":48,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"u010445083","nick_name":"steven_geek","avatar":"https:\/\/profile.csdnimg.cn\/2\/2\/0\/3_u010445083","is_expert":false,"article_count":0,"rank":"0"}];
	var articleType = 1;
	var CopyrightContent = '';
    </script>
<script src="https://csdnimg.cn/public/sandalstrap/1.4/js/sandalstrap.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-3d3b805766.js"></script>
<div class="skin-boxshadow"></div>
<div style="display:none;">
	<img src="" onerror='setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);'>
</div>
</body>
<script type="text/javascript" src="https://csdnimg.cn/release/phoenix/production/pc_wap_common-f91259fb12.js"></script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-light.css">
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                showReport(false,articleTitles);
            })
        });
    })
</script>
<script src="https://csdnimg.cn/release/phoenix/vendor/iconfont/csdnc-c439e66521.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/js/common-da450fe83c.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/js/detail-aaf31e4d6c.min.js"></script>
	<script src="https://csdnimg.cn/release/phoenix/themes/skin3-template/skin3-template-e2b6be7b58.min.js"></script>
<script src="https://g.csdnimg.cn/copyright/1.0.3/copyright.js" type="text/javascript"></script>
<script type="text/javascript"  src="https://g.csdnimg.cn/??login-box/1.1.1/30/login-box.js,login-box/1.1.1/30/login-auto.js"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="https://csdnimg.cn/release/blog_mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
    <script src="//g.csdnimg.cn/baidu-search/1.0.2/baidu-search.js"  type="text/javascript"></script>
</html>
